<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<form id="pagerForm" method="post" action="../Applystorage.do">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="17" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
				<span>员工编号:  <s:property value="emp.empId"/> &nbsp;&nbsp;&nbsp;&nbsp;员工姓名:  <s:property value="emp.empName"/>&nbsp;&nbsp;&nbsp;&nbsp;所属职位:  <s:property value="emp.pos.posName"/></span>
				</td>
			</tr>
		</table>
		<div class="subBar">
		</div>
	</div>
	</form>
</div>
<table>
	        
	    </table>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="../add_ApplystorageAction.action?" target="navTab"><span>新增</span></a></li>
			<li><a class="delete" href='../delete_ApplystorageAction.action?app.appId={applystorage_id}&app.empId=<s:property value="emp.empId"/>' target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="../update_ApplystorageAction.action?app.appId={applystorage_id}" target="navTab"><span>修改</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="120">入库序号</th>
				<th>产品名称</th>
				<th width="100">入库工作单号</th>
				<th width="100">序列号</th>
				<th width="100">物料名称</th>
				<th width="100">物料代码</th>
				<th width="100">申请入库数量</th>
				<th width="100">入库类型</th>
				<th width="100">入库货位</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="appList" var="app">
			<tr target="applystorage_id" rel='<s:property value="#app.appId"/>'>
				<td><s:property value="#app.appId"/></td>
					<td><s:property value="#app.pro.proName"/></td>
					<td><s:property value="#app.pro.proWorkOrder"/></td>
					<td><s:property value="#app.pro.proCode"/></td>
					<td><s:property value="#app.mat.matName"/></td>
					<td><s:property value="#app.mat.matCode"/></td>
					<td><s:property value="#app.appNumber"/></td>
					<td><s:property value="#app.sto.stoName"/></td>
					<td><s:property value="#app.war.warName"/></td>
			</tr>
			</s:iterator>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示17条，共${totalCount}条</span>
		</div>

		<div class="pagination" targetType="navTab" totalCount="${totalCount}" numPerPage="17" pageNumShown="10" currentPage="${pageNum}"></div>

	</div>
</div>

